package com.example.locationreport.locationreport.global;

/**
 * author : King
 * date   : 2023/11/1017:25
 * desc   :
 */
public interface Constant {

    //网络请求框架日志文件
    String NetworkLogFileName = "NetworkLog";

    String TOKEN = "token";

    // IMEI
    String IMEI = "imei";

    String DeviceID = "deviceID";
    String SP_CONFIG_TIME = "configTime";

    String FileName = "fileName";
    String CommandID = "commandID";
    String ConfigJSON = "configJSON";
    String UpdateTime = "updateTime";
    String UploadDeviceID = "uploadDeviceID";
    String File = "file";

    // 连接本地Socket本地数据
    String Odb_Location_Address = "127.0.0.1";
    int Odb_Location_Port = 9012;

    String INFO = "info";

    // Apk安装信息
    String AppUpdateBroadcastAction = "cast.carlocationa.appupdate";
    String AppUpdatePath = "update_apk_path";

    // RabbitMQClient队列名称
    String ClientCommand = "command";
    String ClientLocation = "location";
    String ClientOther = "other";
    String ClientObd = "obd";

    String TYPE = "type";

    // 定位点关键字
    String RK_INF = "RKINF";
    String RTK_FIX = "rtk";
    String OTHER_INF = "OTHERINF";


    String RESTARTSERVICE = "RESTARTSERVICE";


    // 上传在线定位点子线程名称
    String OnlineLocationThread = "OnlineLocationThread";

    // 上传在线其他数据子线程名称
    String OnlineOtherThread = "OnlineOtherThread";
    // 播放语音的子线程
    String SpeakPlayThread = "SpeakPlayThread";

    // mqtt心跳子线程名称
    String MqttHeartbeatThread = "MqttHeartbeatThread";

    // odb心跳子线程名称
    String ODBHeartbeatThread = "ODBHeartbeatThread";

    // main心跳子线程名称
    String MainHeartbeatThread = "MainHeartbeatThread";

    String CrashApplicationThread = "CrashApplicationThread";

    // 接收的消息类型
    // 告警
    String MQTT_Alarm = "alarm";
    // 任务
    String MQTT_Task = "task";
    // 导航消息
    String MQTT_Navigation = "navigation";
    // 车辆维保告警
    String MQTT_MaintenanceAlarm = "maintenanceAlarm";
    // 防碰撞的提醒
    String MQTT_GeoAlarm = "geoAlarm";
    // 日志回传
    String MQTT_VehicleCommand = "vehicleCommand";
    // 视频调取消息
    String MQTT_VehicleLiveTask = "vehicleLiveTask";
    // 疲劳告警标识
    String MQTT_FatigueAlarm = "fatigueAlarm";

    // 播放语音广播
    String ReceiverSpeak = "ReceiverSpeak";

    // 在线数据生成广播
    String ReceiverOnlineLocation = "ReceiverOnlineLocation";

    //系统广播
    String CONFIGURATION_CHANGED = "android.intent.action.CONFIGURATION_CHANGED";


}